<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$config = array (
    'avatar' => array(
      //  'file_path' => 'companies',
        'allowed_types' => 'jpg|jpeg|gif|png',
        'max_size' => 1*1024*1024,
        'max_width' => 0,
        'max_height' => 0,
    ),
    'avatar_thumb' => array(
        //w , h, 是否是严格宽高,是否加水印
        'small' => array(
            100, 100, 1
        ),
        'middle' => array(
            150,150,1
        ),
        'big'   =>  array(
            300,300,1
        )
    ),
	//菜品图片
	'cookbook_image' => array(
		'file_path' => 'cookbooks',
		'allowed_types' => 'jpg|jpeg|gif|png',
		'max_size' => 1*1024*1024,
		'max_width' => 0,
		'max_height' => 0,
		'wm_type'=>'overlay',
		'wm_vrt_alignment'=>'B',
		'wm_overlay_path'=>'Watermark.png',
		'wm_hor_offset'=>10,
		'wm_vrt_offset'=>10
	),
	'cookbook_image_thumb' => array(
		//w , h, 是否是严格宽高,是否加水印
		'small' => array(
				100, 100, 1,0
		),
		'middle' => array(
				360, 220, 0,0
		),
		'big' => array(
				600, 600,0,1
		),
	),
);


$config['wanpitu'] = array(
    'ak'    =>  '23099797',
    'sk'    =>  'db5e2e184797792868880f950af9a074'
);
